#ifndef ScoreCard_H
#define ScoreCard_H

#include "Engine.h"
#include "InputSet.h"
#include <OgreEntity.h>
#include <vector>
#include <iostream>
#include <string>

#define NUMDIGITS 10

//a class that displays score
class ScoreCard{
public:
	ScoreCard(char* name, Ogre::SceneManager* sm, Ogre::SceneNode* toAddTo);
	void updateState();
	void alertToInput( const InputSet& input );
	virtual void draw( Engine* game );
	void setScore(int newScore);
	void addScore(int toAdd);
protected:
	Ogre::SceneNode *digits[NUMDIGITS][10];
	int score;
};
#endif
